ncurses: change GitHub mirror
PATCH 1/1 ncurses: change GitHub mirror
Change from github.com/mirror/ncurses to github.com/ThomasDickey/ncurses-snapshots (which is linked in the ncurses FAQ http://invisible-island.net/ncurses/ncurses.faq.html)
This is updated at least weekly, compared to mirror/ncurses, which was last updated on March 12th.
--- meta/recipes-core/ncurses/ncurses.inc | 4 ++-- meta/recipes-core/ncurses/ncurses_6.4.bb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
meta/recipes-core/ncurses/ncurses.inc +2 -2
@@ -2,7 +2,7 @@ SUMMARY = "The New Curses library" DESCRIPTION = "SVr4 and XSI-Curses compatible curses library and terminfo tools including tic, infocmp, captoinfo. Supports color, multiple highlights, forms-drawing characters, and automatic recognition of keypad and function-key sequences. Extensions include resizable windows and mouse support on both xterm and Linux console using the gpm library." HOMEPAGE = "http://www.gnu.org/software/ncurses/ncurses.html" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://COPYING;md5=c5a4600fdef86384c41ca33ecc70a4b8;endline=27" +LIC_FILES_CHKSUM = "file://COPYING;md5=8f2e5b99d5b6c0e6ee7cb39b992733b6;endline=27" SECTION = "libs" DEPENDS = "ncurses-native" DEPENDS:class-native = ""
@@ -13,7 +13,7 @@ BINCONFIG = "${bindir}/ncurses5-config ${bindir}/ncursesw5-config \ inherit autotools binconfig-disabled multilib_header pkgconfig # Upstream has useful patches at times at ftp://invisible-island.net/ncurses/ -SRC_URI = "git://github.com/mirror/ncurses.git;protocol=https;branch=master" +SRC_URI = "git://github.com/ThomasDickey/ncurses-snapshots.git;protocol=https;branch=master" EXTRA_AUTORECONF = "-I m4"
meta/recipes-core/ncurses/ncurses_6.4.bb +1 -1
@@ -6,7 +6,7 @@ SRC_URI += "file://0001-tic-hang.patch \ file://exit_prototype.patch \ " # commit id corresponds to the revision in package version -SRCREV = "79b9071f2be20a24c7be031655a5638f6032f29f" +SRCREV = "1003914e200fd622a27237abca155ce6bf2e6030" S = "${WORKDIR}/git" EXTRA_OECONF += "--with-abi-version=5" UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)$"
Signature · 1 line
2.25.1
Quoted 4 lines · Florin Diaconescu
Change from github.com/mirror/ncurses to github.com/ThomasDickey/ncurses-snapshots (which is linked in the ncurses FAQ http://invisible-island.net/ncurses/ncurses.faq.html)
...
meta/recipes-core/ncurses/ncurses_6.4.bb SRC_URI += "file://0001-tic-hang.patch \ · line 9
Quoted 3 lines
# commit id corresponds to the revision in package versionmeta/recipes-core/ncurses/ncurses_6.4.bb +1
-1-SRCREV = "79b9071f2be20a24c7be031655a5638f6032f29f" +SRCREV = "1003914e200fd622a27237abca155ce6bf2e6030"
This cannot be bundled together with the SRC_URI change without explanation. Please split out into a separate patch, if it is even necessary.
Alex
This was done in a similar way to this commit, when the change was made from Debian packaging to GitHub's mirror:
https://git.yoctoproject.org/p oky/commit/meta/recipes-core/n curses?id=dfaabf971b02e33870f9 f927e9b1356e05e74a17 ( https://git.yoctoproject.org/poky/commit/meta/recipes-core/ncurses?id=dfaabf971b02e33870f9f927e9b1356e05e74a17 ) If I only change the SRC_URI, then it won't find the original 79b9071f2be20a24c7be031655a5638f6032f29f revision.
1003914e200fd622a27237abca155ce6bf2e6030 is the commit hash of the 6.4 release tag:
https://github.com/ThomasDicke y/ncurses-snapshots/releases/ tag/v6_4 ( https://github.com/ThomasDickey/ncurses-snapshots/releases/tag/v6_4 )
Florin
Thanks, this should go into the commit message. You also need to find out why the license checksum doesn't match and explain that too.
Alex
Quoted 19 lines · Florin Diaconescu
This was done in a similar way to this commit, when the change was made from Debian packaging to GitHub's mirror:
https://git.yoctoproject.org/poky/commit/meta/recipes-core/ncurses?id=dfaabf971b02e33870f9f927e9b1356e05e74a17
If I only change theSRC_URI, then it won't find the original79b9071f2be20a24c7be031655a5638f6032f29frevision.
1003914e200fd622a27237abca155ce6bf2e6030is the commit hash of the 6.4 release tag:
https://github.com/ThomasDickey/ncurses-snapshots/releases/tag/v6_4Florin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#181475): https://lists.openembedded.org/g/openembedded-core/message/181475
Mute This Topic: https://lists.openembedded.org/mt/98944084/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-